﻿using ProductionManage.Models.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace wangyaxin.Jiangzhenying.WorkstationWorkers
{
    public interface IWorkstationWorkerIService:IApplicationService
    {
        /// <summary>
        /// 获取人力资源信息
        /// </summary>
        /// <returns></returns>
        Task<string> GetWorkstationWorkers();

        /// <summary>
        /// 新增人力资源信息
        /// </summary>
        /// <returns></returns>
        Task<WorkstationWorker> AddWorkstationWorkers(WorkstationWorker works);

        /// <summary>
        /// 删除人力资源信息
        /// </summary>
        /// <returns></returns>
        Task<string> DeleteWorkstationWorkers(int id);

        /// <summary>
        /// 反填人力资源信息
        /// </summary>
        /// <returns></returns>
        Task<WorkstationWorker> GetWorkstationWorkerById(int id);

        /// <summary>
        /// 修改人力资源信息
        /// </summary>
        /// <returns></returns>
        Task UpdateWorkstationWorkers(int id,WorkstationWorker works);
    }
}
